package com.snake.springboot.authority.api.service;

import com.snake.springboot.authority.api.model.AuthStrategyModel;
import com.snake.springboot.authority.api.request.AuthStrategyQuery;
import org.snake.common.result.ReturnList;

import java.util.List;

/**
 * 类 {@code AuthStrategyService}  <br> .
 * <p>权限策略接口
 * <p>创建时间：2025/02/07
 *
 * @author Huang.yj
 */
public interface AuthStrategyService {

    AuthStrategyModel addAuthStrategy(AuthStrategyModel model) throws Exception;

    AuthStrategyModel modifyAuthStrategy(AuthStrategyModel model) throws Exception;

    int removeAuthStrategy(String strategyId);

    AuthStrategyModel queryAuthStrategy(String strategyId);

    List<AuthStrategyModel> queryAuthStrategyList(AuthStrategyModel model) throws Exception;

    ReturnList<AuthStrategyModel> queryAuthStrategyList(AuthStrategyQuery query) throws Exception;
}
